﻿using B.S.DataBase.MyProject.Domain;
using B.S.Traceability.Domain;
using Microsoft.EntityFrameworkCore;

namespace B.S.Traceability.Infrastructure
{
    public class DataBaseContext : DbContext
    {
        public DataBaseContext(DbContextOptions options) : base(options)
        {
        }

        /// <summary>
        /// 公司表
        /// </summary>
        public DbSet<Companys> Companys { get; set; }

        /// <summary>
        /// 养殖信息表
        /// </summary>
        public DbSet<Farms> Farms { get; set; }

        /// <summary>
        /// 免疫信息
        /// </summary>
        public DbSet<Healths> Healths { get; set; }

        /// <summary>
        /// 整合图片
        /// </summary>
        public DbSet<IntegrateImgs> IntegrateImgs { get; set; }

        /// <summary>
        /// 深加工信息主表
        /// </summary>
        public DbSet<Process> Processes { get; set; }

        /// <summary>
        /// 产品信息表
        /// </summary>
        public DbSet<Products> Products { get; set; }

        /// <summary>
        /// 商品表
        /// </summary>
        public DbSet<Shoops> Shoops { get; set; }

        /// <summary>
        /// 屠宰信息表
        /// </summary>
        public DbSet<Slaughters> Slaughters { get; set; }


        /// <summary>
        /// 供应商信息
        /// </summary>
        public DbSet<Suppliers> Suppliers { get; set; }

/*
        /// <summary>
        /// 用户信息表
        /// </summary>

        public DbSet<User> User { get; set; }

        /// <summary>
        /// 角色表
        /// </summary>
        public DbSet<Role> Roles { get; set; }

        /// <summary>
        /// 用户角色表
        /// </summary>
        public DbSet<RoleUser> RoleUsers { get; set; }*/
    }
}
